<?php
if(!empty($sub_cat_id)){

if(count(get_category($sub_cat_id))){
?>
<div id="box-mn-head">
        <div id="boxcate" align="left">
            <ul>
                <?php
                    foreach(get_category($sub_cat_id) as $key=>$val){
                ?>
                <li><a href="<?php echo  get_post_list_url($this->province_id,$category_id,$sub_cat_id,$val['id']); ?>"><h2 <?php if($val['id']==$child_cat_id){ echo "class='active'";} ?>><?php echo $val['name'] ?></h2></a></li>
                <?php } ?>
            </ul>

        </div>

</div>
<?php }}  ?>
